#include <iostream>

//https://www.nowcoder.com/practice/741a9b79fabe474cb153a49b4bff5828?tpId=225&tqId=2180560&ru=%2Fpractice%2Fb0423a89826c4d68a3e8b9832a6a1f49&qru=%2Fta%2Fprimary-grammar-cpp%2Fquestion-ranking&sourceUrl=https%3A%2F%2Fwww.nowcoder.com%2Fexam%2Foj

using namespace std;

int main() {

    int month;
    cin >> month;
    if (month < 1 || month > 12) {  //优先判断是否合法月份
        cout << "不合法" << endl;
    } else {
        switch (month) {            //根据月份判断
            case 3 ... 5:           //连续的值
                cout << "春季" << endl;
                break;
            case 6 ... 8:
                cout << "夏季" << endl;
                break;
            case 9 ... 11:
                cout << "秋季" << endl;
                break;
            default:
                cout << "冬季" << endl;
        }
    }
    return 0;
}



